package com.jmb.api.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 
 * @TableName module
 */
@TableName(value ="module")
@Data
public class Module extends BaseEntity  implements Serializable {
    /**
     * 模块id
     */
    @Schema(description = "模块id")
    @TableId(value = "module_id", type = IdType.AUTO)
    private Integer moduleId;

    /**
     * 项目id
     */
    @Schema(description = "项目id")
    @TableField(value = "project_id")
    private Integer projectId;

    /**
     * 模块名称
     */
    @Schema(description = "模块名称")
    @TableField(value = "module_name")
    private String moduleName;

    /**
     * 模块描述
     */
    @Schema(description = "模块描述")
    @TableField(value = "description")
    private String description;

}